package com.renhuikeji.taobaoweb;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

public class ShowImgActivity extends AppCompatActivity {
    private ImageView imageView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_img);
        String imgPath=getIntent().getStringExtra("path");
        imageView= (ImageView) findViewById(R.id.imageview);
        Glide.with(this).load(imgPath).into(imageView);
    }
}
